package com.zem.imos.Entity.Enum;

import com.baomidou.mybatisplus.annotation.IEnum;

public enum RegisterStatus implements IEnum<Integer> {
    Unvisited(0, "预约就诊"),
    Visited(1, "已就诊开药但未取药"),
    Pay(2, "取药"),
    Overdue(3, "预约过期");

    private int code;
    private String desc;

    RegisterStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return code;
    }

    public  String getDesc(){
        return desc;
    }
}
